<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="css/mystyle.css">
    <link rel="stylesheet" href="layui/css/layui.css">
</head>

<body>
	<!-- 导入顶部导航---start -->
	<%@ include file="head.jsp" %>
	<!-- 导入顶部导航---end -->
	
    <div class="layui-container">
        <div class="def-all">
            <div class="def-head">
                <span>工作经历修改</span>
            </div>
            <form class="layui-form" action="upexperience.action" style="padding:15px;">
             <input type="hidden" id="stuexpeid" name="stuexpeid" value="${works.stuexpeid}">
             <input type="hidden" id="stuinfoid" name="stuinfoid" value="${works.stuinfoid}">
                <div class="layui-form-item">
                    <label class="layui-form-label">公司名称</label>
                    <div class="layui-input-block">
                        <input type="text" name="jobcomp" id="jobcomp" lay-verify="" value="${works.jobcomp}" autocomplete="off" placeholder="请输入公司名称"
                            class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">工作职位</label>
                    <div class="layui-input-block">
                        <input type="text" name="jobposition" id="jobposition" lay-verify="" value="${works.jobposition}" placeholder="请输入工作职位"
                            autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">所在地区</label>
                    <div class="layui-input-block">
                        <input type="text" name="jobarea" id="jobarea" lay-verify=""  value="${works.jobarea}" placeholder="请输入所在地区"
                            autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">所属行业</label>
                    <div class="layui-input-block">
                        <input type="text" name="jobtrade" id="jobtrade" lay-verify="" value="${works.jobtrade}" placeholder="请输入所属行业"
                            autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">证明人</label>
                    <div class="layui-input-block">
                        <input type="text" name="argumentation" id="argumentation" lay-verify="" value="${works.argumentation}" placeholder="请输入证明人"
                            autocomplete="off" class="layui-input">
                    </div>
                </div><div class="layui-form-item">
                    <label class="layui-form-label">证明人电话</label>
                    <div class="layui-input-block">
                        <input type="text" name="argphone" id="argphone" lay-verify="" value="${works.argphone}" placeholder="请输入证明人联系电话"
                            autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">开始时间</label>
                        <div class="layui-input-inline">
                            <input type="text" name="jobstartime" id="jobstartime"  value="${works.jobstartime}" lay-verify="jobstartime"
                                placeholder="yyyy-MM-dd" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">结束时间</label>
                        <div class="layui-input-inline">
                            <input type="text" name="jobendtime" id="jobendtime" value="${works.jobendtime}" lay-verify="jobendtime"
                                placeholder="yyyy-MM-dd" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>

                <div class="layui-form-item layui-form-text">
                    <label class="layui-form-label">工作描述</label>
                    <div class="layui-input-block">
                        <textarea placeholder="请输入工作描述" name="jobsum" id="jobsum" class="layui-textarea">${works.jobsum}</textarea>
                    </div>
                </div>

                <div class="layui-upload">
	                <input type="hidden" name="userid" id="userid" value="${loginuser.userid }">
	            	<input type="hidden" name="account" id="account" value="${loginuser.account }">
	            	<input type="hidden" name="photoname" id="photoname" value="${works.jobpic }">
                    <button type="button" class="layui-btn" id="manypic">图片上传</button>
                    <blockquote class="layui-elem-quote layui-quote-nm" style="margin-top: 10px;">
                        <span class="yulan_font">预览图：</span>
                        <div class="layui-upload-list" id="demo2"></div>
                    </blockquote>
                </div>

                <div class="layui-upload">
                    <button type="button" class="layui-btn layui-btn-normal" id="testList">选择附件</button>
                    <div class="layui-upload-list">
                        <table class="layui-table">
                            <thead>
                                <tr>
                                    <th>文件名</th>
                                    <th>大小</th>
                                    <th>状态</th>
                                    <th>操作</th>
                                </tr>
                            </thead>
                            <tbody id="demoList"></tbody>
                        </table>
                    </div>
                    <button type="button" class="layui-btn" id="testListAction">开始上传</button>
                </div>

                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-submit type="submit">提交</button>
                        <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                        <a href="deleexp.action?stuexpeid=${works.stuexpeid}&stuinfoid=${works.stuinfoid}">
                        <button type="button" class="layui-btn layui-btn-danger" style="background:#FF5722;">删除</button>
                        </a>
                    </div>
                </div>
            </form>
        </div>

    </div>

    <!-- 导入网页页脚---start -->
	<%@ include file="foot.jsp" %>
	<!-- 导入网页页脚---end -->

    <script src="js/jquery-3.3.1.min.js"></script>
    <script src="layui/layui.js"></script>
    <script src="js/my.js"></script>
</body>

</html>